<?php
namespace mi7soft\system\controller;

defined('MI7') or exit('No direct script access allowed');

class user
{
    function add($data)
    {
        if (empty($data)) {
            return false;
        }
        return $data;
    }

    function get()
    {
        return [
            'id' => 1,
            'name' => 'test'
        ];
    }

    function delete($id)
    {
        return true;
    }
}